package team.tunan.entity.dto;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;
import team.tunan.entity.User;

/**
 * @Date 2022/7/7
 * @Author ztc
 * @Description TODO
 */


@Data
@NoArgsConstructor
@AllArgsConstructor
@Component
public class UserDTO {
    //返回信息
    private User userInfo;
    //查询成功设置为true
    private boolean success;

}
